package com.qst.medical.mapper;

import com.qst.medical.entity.MedicalPolicyEntity;
import com.qst.medical.model.MedicalPolicyModel;
import com.qst.medical.param.MedicalPolicyParam;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface MedicalPolicyMapper {
    List<MedicalPolicyModel> getAllPolicy(MedicalPolicyParam param);
    int savePolicy(MedicalPolicyEntity entity);

    /*更新医药公司政策*/
    int updatePolicy(MedicalPolicyEntity entity);

    /*删除医药公司政策*/
    int deletePolicy(Long id);
    int deletePolicyByCity(Integer id);
}
